class FollowBean {
  final int? total;
  List<ReportInfo>? rows;

  FollowBean({this.rows, this.total});

  factory FollowBean.fromJson(Map<String, dynamic> json) {
    final originList = json['rows'] as List?;
    List<ReportInfo> protocolList =
        (originList??[]).map((value) => ReportInfo.fromJson(value)).toList();
    return FollowBean(rows: protocolList, total: json['total']);
  }
}

class ReportInfo {
  String? itemName;
  int? examinationRecordId;
  int? customerId;
  int? id;

  ReportInfo({this.id, this.itemName, this.examinationRecordId, this.customerId});

  ReportInfo.fromJson(Map data) {
    itemName = data['itemName'];
    examinationRecordId = data['examinationRecordId'];
    customerId = data['customerId'];
    id = data['id'];
  }
}
